package com.example.redis.mapper;

import com.example.redis.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @ClassName StudentMapper
 * @Desecription TODO 1.2新增
 * @Author zzw
 * @Date 2021/4/21 15:44
 * @Version 1.2
 **/
@Mapper
@Repository
public interface StudentMapper {

    Student getOne(int id);

    void updateStu(Student student);
}
